<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="https://g.alicdn.com/de/prismplayer/2.8.1/skins/default/aliplayer-min.css" />
    <script charset="utf-8" type="text/javascript" src="https://g.alicdn.com/de/prismplayer/2.8.1/aliplayer-min.js"></script>
</head>
<body>
    <div  class="prism-player" id="J_prismPlayer"></div>
    <script>
        var player = new Aliplayer({
            id: 'J_prismPlayer',
            width: '100%',
            autoplay: false,
             //播放配置
            //播放方式一：支持播放地址播放,此播放优先级最高，此种方式不能播放加密视频 一般不推荐  
            // source : 'http://video.hemapay.shop/customerTrans/4192542428f681c3cf97f9f4a71e0f76/452191a4-169cd4d24c7-0004-5356-58c-02a14.mp4',
       
            //播放方式二：支持播放地址播放,此播放优先级最高，此种方式不能播放加密视频
            encryptType:'1',//如果播放加密视频，则需设置encryptType=1，非加密视频无需设置此项
            vid : '0b0124a184514453b0cfbb33884f6677',
            playauth :'eyJTZWN1cml0eVRva2VuIjoiQ0FJUzN3SjFxNkZ0NUIyeWZTaklyNHVNSmVyVHJyWmc4SWk0TVVmVW9VMFFZN3RwbnJQSWlqejJJSGxQZTNGaEFPb2V2L2svbVc5VTdmb2Nsck1xRWNZYUdCZWNONUVndDg0THFGUDVKcExGc3QySjZyOEpqc1Y4cS9sTi9sdXBzdlhKYXNEVkVma3VFNVhFTWlJNS8wMGU2TC8rY2lyWVhEN0JHSmFWaUpsaFE4MEtWdzJqRjFSdkQ4dFhJUTBRazYxOUszemRaOW1nTGlidWkzdnhDa1J2MkhCaWptOHR4cW1qL015UTV4MzFpMXYweStCM3dZSHRPY3FjYThCOU1ZMVdUc3Uxdm9oemFyR1Q2Q3BaK2psTStxQVU2cWxZNG1YcnM5cUhFa0ZOd0JpWFNaMjJsT2RpTndoa2ZLTTNOcmRacGZ6bjc1MUN0L2ZVaXA3OHhtUW1YN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XaGF0IElmIEkgV2FudCB0byBNb3ZlIEZhcyIsIkNvdmVyVVJMIjoiaHR0cDovL3ZpZGVvLmhlbWFwYXkuc2hvcC9pbWFnZS9jb3Zlci82MTlCRjc2QUNEMTg0MjQzQjMyRUY1OUVCM0EzMkNGQS02LTIucG5nIiwiRHVyYXRpb24iOjE2LjI3Njd9LCJBY2Nlc3NLZXlJZCI6IlNUUy5OSDluUGdDaUFHSlMzYWVFTUVvNEVxdmNoIiwiUGxheURvbWFpbiI6InZpZGVvLmhlbWFwYXkuc2hvcCIsIkFjY2Vzc0tleVNlY3JldCI6IjI4ZUxkdEZBRGIya1RNMW1NVWlaVVZxRTFENkIxdExuWGhyTUx5dXFDM3RmIiwiUmVnaW9uIjoiY24tc2hhbmdoYWkiLCJDdXN0b21lcklkIjoxMjE3NTMwMjI4MTI0MTgwfQ==',
            cover: 'http://liveroom-img.oss-cn-qingdao.aliyuncs.com/logo.png' 
            
           
        },function(player){
            console.log('播放器创建好了。')
        });
    </script>
</body>
</html>